const $Rarity = Java.loadClass("net.minecraft.world.item.Rarity")
const Rarity = {
    Legendary: $Rarity.create("Legendary", "gold"),
    Magic: $Rarity.create("Magic", "light_purple"),
    Special: $Rarity.create("Special", "red")
}